#!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
import os
import logging

try:
    from setuptools import setup, find_packages
except ImportError, ie:
    import ez_setup
    ez_setup.use_setuptools()
    from setuptools import setup, find_packages

# Startup
appname = "lgsurvey"

setup(
        name = appname,
        version = "0.0.1",
        package_dir = {'':'src'},
        # packages = [ os.path.join("src", a) for a in find_packages("src") ],
        packages = [ a for a in find_packages("src") ],
        include_package_data = True,
        author = "Salim Fadhley",
        author_email = "sal@stodge.org",
        description = "A survey tool",
        license = "GPL3",
        keywords = "python survey django",
        url = "http://code.google.com/p/lgsurvey/",
        entry_points = { "console_scripts":['lgmanage = lgsurvey.manage:main',
                                            'lgdump = lgsurvey.dump:main',] },
        install_requires = ["Django>=1.1",
                            "django-survey>=0.0.3_sal"]
        
)
